projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0617a
)
scripts,ipkg-build: Fix error message for invalid package name
author
Karsten Sperling
<
[email protected]
>
Fri, 12 Sep 2025 03:49:13 +0000
(15:49 +1200)
committer
Hauke Mehrtens
<
[email protected]
>
Tue, 16 Dec 2025 00:39:54 +0000
(
01:39
+0100)
Use the correct variable ($pkg instead of $name) in the error message.
Signed-off-by: Karsten Sperling <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/20077
Signed-off-by: Hauke Mehrtens <
[email protected]
>
scripts/ipkg-build
patch
|
blob
|
history
diff --git
a/scripts/ipkg-build
b/scripts/ipkg-build
index 6abcc588322dca15ad4070af1aea7b4a4e022c42..d2beb41844175a81ade246fe927a886ae2ee679c 100755
(executable)
--- a/
scripts/ipkg-build
+++ b/
scripts/ipkg-build
@@
-45,7
+45,7
@@
pkg_appears_sane() {
arch="$(required_field Architecture)"
if echo "$pkg" | grep '[^a-zA-Z0-9_.+-]'; then
- echo "*** Error: Package name
$name
contains illegal characters, (other than [a-z0-9.+-])" >&2
+ echo "*** Error: Package name
'$pkg'
contains illegal characters, (other than [a-z0-9.+-])" >&2
PKG_ERROR=1;
fi